
package com.jf.cloud.supplier.model;

import com.jf.cloud.common.model.BaseModel;

import java.io.Serializable;
/**
 * 供应商用户
 *
 * @author zz
 * @date 2022-03-14 17:04:32
 */
public class SupplierUser extends BaseModel implements Serializable{
    private static final long serialVersionUID = 1L;

    /**
     * 供应商用户id
     */
    private Long supplierUserId;

    /**
     * 关联供应商ID(-1代表还没有申请创建供应商)
     */
    private Long supplierId;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 员工编号
     */
    private String code;

    /**
     * 联系方式
     */
    private String phoneNum;

    /**
     * 是否已经设置账号 0:未设置 1:已设置
     */
    private Integer hasAccount;

    public Long getSupplierUserId() {
        return supplierUserId;
    }

    public void setSupplierUserId(Long supplierUserId) {
        this.supplierUserId = supplierUserId;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public Integer getHasAccount() {
        return hasAccount;
    }

    public void setHasAccount(Integer hasAccount) {
        this.hasAccount = hasAccount;
    }

    @Override
    public String toString() {
        return "SupplierUser{" +
                "supplierUserId=" + supplierUserId +
                ",createTime=" + createTime +
                ",updateTime=" + updateTime +
                ",supplierId=" + supplierId +
                ",nickName=" + nickName +
                ",code=" + code +
                ",phoneNum=" + phoneNum +
                ",hasAccount=" + hasAccount +
                '}';
    }
}
